Add pkg-config file#305
Open
panicgh wants to merge 1 commit intoeProsima:masterfrom
Open
Conversation
Signed-off-by: Nicolas Benes <nbenes.gh@xandea.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Currently, Fast-CDR only integrates with CMake, but there are many projects out there that are not built with CMake and thus cannot directly include Fast-CDR. pkg-config is often the least common denominator by many build systems.
Generate and install a pkg-config file to make Fast-CDR also usable by other build systems.
I checked the CMake config file for the FASTCDR_DYN_LINK and FASTCDR_STATIC_LINK flags and had to do a bit of a dance in pkg-config, but I hope
-DFASTCDR_DYN_LINK -UFASTCDR_DYN_LINK -DFASTCDR_STATIC_LINKworks satisfactorily.Contributor Checklist
versions.mdfile (if applicable).Reviewer Checklist